Repository navigation
Tutorials/Sim2Real Blogs: Add validated box benchmarks and viewer fixes. - #283
Conversation
Refresh the MuJoCo/MJWarp lessons with the physically validated two-cube receiving-box task, matched CPU/GPU benchmark, finite viewer lifecycle, reproducible environments and unchanged raw evidence. Follow-up to NVIDIA#279. Signed-off-by: Johnny <johnnync13@gmail.com>
Bind the published notebooks and links to verified public Hub commits while retaining the measured runtime and original evidence. Signed-off-by: Johnny <johnnync13@gmail.com>
Bind the published notebooks and links to verified public Hub commits while retaining the measured runtime and original evidence. Signed-off-by: Johnny <johnnync13@gmail.com>
|
👋 Thank you for your contribution! This pull request is from a forked repository so GitHub Actions will not be able to run CI. A maintainer will review your changes shortly and manually trigger the CI. @maintainers Please review this PR when you have a chance and follow the instructions in the CONTRIBUTING.md file to trigger the CI. |
…nd explain benchmarks. A tester running the previous launch_passive lessons hit a window that never closed after stacking, ignored Space/Esc, and hung with GLXBadDrawable after Ctrl+C; the Part 2 command looked like Part 1 and the benchmark numbers were unexplained. Port NVIDIA-dev/newton_blogs#2 (merge 281489d2cf47cf709a5420f066bb61e2827cdd33) into the Hub layout: every lesson run ends with a verified task result and exit code 0/1, Ctrl+C exits 130 within about a second in every phase (a second Ctrl+C immediately), slow rendering no longer slows the physics, and --benchmark/scaling_study print what each number measures and how it scales with GPU size. Add real-window X11 lifecycle tests and headless Ctrl+C tests, the validation record, and the updated migration manifest entries. Signed-off-by: Johnny <johnnync13@gmail.com>
|
Update: commit 7ae10f1 ports the Article 2 viewer and benchmark fixes from NVIDIA-dev/newton_blogs#2 (merged as Why: tester report (13 Oct). The tester ran this tutorial's previous
They also found that the blog's Part 2 command "starts the same solution as Part 1": it is the one-world correctness check, and only What changed
Tests run on this exact tree (workstation with RTX PRO 6000 Blackwell, Article 2 hash lock: MuJoCo 3.8.0 / MuJoCo Warp 3.8.0.3 / Warp 1.15.0, outside Docker):
Not tested: Docker/Brev container build, Colab, an NVIDIA-GLX desktop X session (none available; the earlier NVIDIA desktop record covers the same window code), macOS GUI (the "use |
A tester following two sets of setup instructions got stuck on "Cannot download into non-empty ~/.cache/mujoco_menagerie": the cache held this Hub copy's versioned layout, which the imported helper refused, and the help text suggested exporting a folder he did not have. Port NVIDIA-dev/newton_blogs#3 (merge 70ed6dc0874001f09ec706dbde790583349c1f5c). The automatic Menagerie cache is versioned by the pinned commit (the Hub layout, so existing Hub caches are reused), verified by Git, downloaded into a temporary folder and renamed into place; unverified caches are moved aside, never deleted. A MUJOCO_MENAGERIE_PATH without the robot folder is a one-line note, and offline or missing-git failures state the exact fix. Add doctor.py, a setup checker that prints a fix for every problem, and one local Quickstart in the tutorial README that the lesson guide links to. Tests cover the tester's cache, junk caches, offline runs and the doctor. The migration manifest records the source update; evidence keeps its original paths. Signed-off-by: Johnny <johnnync13@gmail.com>
|
New head ab0f318 (GitHub-signed): port of NVIDIA-dev/newton_blogs#3 (merge 70ed6dc), so the first local run works without help. Why: a tester ended up with an old Changes in
Checked on the workstation (2x RTX PRO 6000, Xvfb):
Not merging; this needs NVIDIA review. |
The MuJoCo/MJWarp tutorial now uses the same two-cube receiving-box task on CPU and GPU: grasp, lift, carry, release, settle and withdraw. The lessons run reference solutions by default, preserve the learner exercises, and include the viewer completion and clean-exit fixes. This follows merged PR #279.
The new benchmark notebook starts in preflight mode. Its reproducible sweep compares 1, 16, 32, 64, 128, 256, 512, 1024 and 2048 worlds for SO-101 and reBot, with one full warm-up and five measured episodes. The retained workstation study accepted 35/36 configurations; reBot GPU512 remains excluded, with the original failure and timings preserved as diagnostic evidence. Raw archives, figures, package locks, hardware/configuration records and the separate ALOHA reference are included unchanged.
The tutorial and container use the measured MuJoCo 3.8.0 / MuJoCo Warp 3.8.0.3 / Warp 1.15.0 environment. It is intentionally separate from the Newton tutorial's 3.12 stack. Scoped LFS rules preserve the evidence payloads and figures; source MIT and model notices remain.
Validation: updated Docker image built; 151 tests passed, 1 optional viewer-integration test skipped, including both CPU/GPU robot tasks and real-kernel benchmark preflight. Four notebook format checks and source/LFS hash audits pass. The initial wrong-scope asset test and its corrected rerun are retained in
hub-validation/2026-10-10.These are community measurements on documented hardware, not official product benchmarks. The new container checks validate the Hub relocation; they do not replace the retained performance sweep. Live Brev and Colab execution remain unverified.
Fresh validation record: https://github.com/johnnynunez/accelerated-computing-hub/blob/e923560f71080d807b6d3be17c069dc2694fdbbc/tutorials/sim2real-blogs/hub-validation/2026-10-10/README.md